<!--
 * @Author: sunli
 * @Date: 2022-12-13 16:21:23
 * @LastEditors: sunli
 * @LastEditTime: 2022-12-13 16:26:42
 * @FilePath: /etrip-ui/src/pages/indicator/demo.vue
 * @Description: 加载层
-->
<script setup>
import {Indicator} from '../../../packages/lib/index.js'

const open = () => {
  Indicator.show()
  // setTimeout(() => {
  //   Indicator.close()
  // }, 2000)
}
</script>

<template>
  <div>
    <button @click="open">全屏加载层</button>
    </div>
</template>